package cn.edu.guet.tts.service;

import cn.edu.guet.tts.entity.TbOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * <p>
 * 订单管理表 服务类
 * </p>
 *
 * @author test
 * @since
 */
public interface ITbOrderService extends IService<TbOrder> {
    int deleteByUserId(int userId);
    List<Integer> getTicketIdByUserId(int userId);

    TbOrder getOrderByTicketId(Integer ticketId);
}
